﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO {
    /// <summary>
    /// 集市商品查询
    /// </summary>
    public class BazaarProductQuery : PageQuery {
        /// <summary>
        ///商户id
        /// </summary>
        public long? merchant_id { get; set; }
        /// <summary>
        ///商品名称
        /// </summary>
        public string product_name { get; set; }
        /// <summary>
        /// 商户名称
        /// </summary>
        public string merchant_name { get; set; }
        /// <summary>
        ///  状态
        /// </summary>
        public int? status { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? start_time { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? end_time { get; set; }
        /// <summary>
        /// 是否推荐
        /// </summary>
        public bool? is_recommend { get; set; }
        /// <summary>
        /// 分类id
        /// </summary>
        public long? category_id { get; set; }
        /// <summary>
        ///是否已删除
        /// </summary>
        public bool? is_del { get; set; }
        /// <summary>
        /// 是否所有商品
        /// </summary>
        public bool is_all { get; set; }
    }
    /// <summary>
    /// 集市订单查询
    /// </summary>
    public class BazaarOrderQuery:PageQuery {
        /// <summary>
        ///商户id
        /// </summary>
        public long? merchant_id { get; set; }
        /// <summary>
        /// 商户名称
        /// </summary>
        public string merchant_name { get; set; }
        /// <summary>
        /// 1 买家 2 卖家 
        /// </summary>
        public int? merchant_type { get; set; }
        /// <summary>
        ///商品名称
        /// </summary>
        public string product_name { get; set; }
        /// <summary>
        ///  状态
        /// </summary>
        public int? status { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? start_time { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? end_time { get; set; }
        /// <summary>
        /// 是否已删除
        /// </summary>
        public bool? is_del { get; set; } 
    }
}
